
<div style="height:600px; position: relative ">
    <a  role="button" href="#/edit-user/new" class=" r mb5 btn btn-primary" >新建人员</a>

    <table class="table table-striped table-condensed table-bordered table-hover">
        <thead>
        <tr style="background-color: #0081c2; color: #FFFFFF">
            <!--<td><input type="checkbox" ng-model="allChecked" ng-change="checkAll(allChecked)" ></td>-->

            <td ng-repeat="attr in showAttrs" ng-bind="attr.zhCn"></td>

            <td>创建时间 <span class="dib r">
                <span class="glyphicon  glyphicon-chevron-up db cp"  ng-click="sort('createdAt', 'ascending')" aria-hidden="true"></span>
                    <span class="glyphicon glyphicon-chevron-down db cp" ng-click="sort('createdAt', 'descending')" aria-hidden="true">
                         </span></span></td>
            <td >操作</td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="model in models">
            <!--<td><input type="checkbox" ng-model="model.checked" ></td>-->
            <td ng-repeat="attr in showAttrs" ng-bind="model[attr.en]" >
            </td>
            <td>{{model.createdAt | date:'yyyy-MM-dd '}}</td>
            <td><a class="btn btn-default"  role="button" href="#/edit-user/{{model.objectId}}">编辑</a>
                <!--<a class="btn btn-danger"  ng-click="remove(model)" role="button" >删除</a>-->
            </td>
        </tr>
        </tbody>

    </table>



    <h4  ng-if="models.length==0">暂无数据</h4>


    <div style="position: absolute; bottom: 0px" paging
         page= search.pageNo
         page-size= search.pageSize
         total= total
         paging-action = "paging(page)">
    </div>
</div>
